 /**
 * Version   		: 1.0
 * File Name        : SDBException.java
 * Created By		: ReleaseManger
 * Creation Date	: 18-07-2005
 * Description		: File containing the Public class
 * ReleaseManger  CONFIDENTIAL
 */


package com.idm.tacacs.utils;

/**
 * Class : TacacsException 
 * <br>Nested Exception class for SDB Application
 * @author TACACS
 * @version 1.0
 */
public class TacacsException extends Exception {
    
    /**
     * Constructor with customized exception message and original cause
     * (exception)
     * @see java.lang.Throwable#Throwable(String, Throwable)
     */
    public TacacsException(String message, Throwable cause) {
        super(message+cause.toString());
    }
    
    /**
     * Constructor  original cause (exception)
     * @see java.lang.Throwable#Throwable(String)
     */
    public TacacsException(String message) {
    	super(message);
    }
    
    /**
     * Constructor with customized exception message
     * @see java.lang.Throwable#Throwable(Throwable)
     */
    public TacacsException(Throwable cause) {
    	super(cause.toString());
    }
}
